package moving;

import gameconstruction.GameObject;
import model.ModelContext;

import org.lwjgl.input.Keyboard;

import controller.SystemContext;
import datacontainers.Location2D;

public class Hero extends GameObject{

	public Hero(Location2D start) {
		super(start);
	}

	@Override
	public void doStep(ModelContext mc, SystemContext sc) {
		if(Keyboard.isKeyDown(Keyboard.KEY_SPACE)){
			System.out.println("Shoot!");
		}
		if(Keyboard.isKeyDown(Keyboard.KEY_Q)){
			
			sc.stop();
		}
	}

	@Override
	public void draw() {
	}
}
